package org.jeecg.modules.company.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.company.entity.CompanyEditApply;
import org.jeecg.modules.company.facade.ICompanyEditApplyFacade;
import org.jeecg.modules.company.service.ICompanyEditApplyService;
import org.jeecg.modules.company.vo.CompanyEditApplyVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 公司修改申请
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class CompanyEditApplyFacadeImpl extends IFacadeImpl<CompanyEditApplyVo, CompanyEditApply, ICompanyEditApplyService>  implements ICompanyEditApplyFacade<CompanyEditApplyVo, CompanyEditApply> {
        @Autowired
        private ICompanyEditApplyService companyEditApplyService;


         @Override
         public CompanyEditApply po2Vo(CompanyEditApplyVo vo) {
                CompanyEditApply po = new CompanyEditApply();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public CompanyEditApplyVo vo2Po(CompanyEditApply po) {
                CompanyEditApplyVo vo = new CompanyEditApplyVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
